package com.fruit.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 测试配置修改
 * @Author: LJ
 * @Date: 2018/11/2 15:02
 * @version:
 */
@Data
@Configuration
@ConfigurationProperties("test")
@RefreshScope
public class TestConfig {
    private  String name;
    private  String id ;

}
